package com.addcn.pushlibrary;

import com.addcn.pushlibrary.bean.PMessage;

/**
 * author:luwenbo
 * created on date : 2019-05-14
 * content:
 * describe:
 */
public interface LpushListener {
    /**
     * 收到自定义推送消息
     * @param pMessage
     * @param custom 是否自定义消息
     */
    void onMsgReceiver(PMessage pMessage, boolean custom);

    /**
     * 通知点击事件回调
     * @param pMessage
     */
    void onNotificationClicked(PMessage pMessage);

    /**
     * 错误处理回调
     */
    void onError();

}
